<?php

namespace addons\config\model;

/**
 * Description of Pool
 *
 */
class Pool extends \web\common\model\BaseModel {
    
    protected function _initialize() {
        $this->tableName = 'pools';
    }


    /**
     * 增加矿池
     */
    public function incPool($amount){
    	return $this->where('type',1)->setInc('amount',$amount);
    }
}